package org.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.example.domain.ResponseResult;
import org.example.domain.entity.UserRole;

import java.util.List;

@Mapper
public interface UserRoleMapper extends BaseMapper<UserRole> {


    List<Integer> getRoleIdByUserId(Integer userId);

    void deleteByUserId(Integer userId);
}
